//安装 npm i @reduxjs/toolkit
//导入函数              工具包
import { configureStore} from '@reduxjs/toolkit';
import countReducer from './slices/countSlice';
import zanReducer from './slices/zanSlice';
import todoReducer from './slices/todoSlice'

//配置 store 对象
let store = configureStore({
  reducer: {
    count: countReducer,
    zan: zanReducer,
    todo: todoReducer
  }
});

export default store;




